Class: NonJSONResponseError
Hierarchy
Error
↳
NonJSONResponseError
Constructors
constructor
• new NonJSONResponseError(contentType
, response
)
Parameters
Name | Type |
---|---|
contentType | null | string |
response | string |
Overrides
Error.constructor
Properties
cause
• Optional
cause: unknown
Inherited from
Error.cause
contentType
• contentType: null
| string
message
• message: string
Inherited from
Error.message
name
• name: string
= 'NonJSONResponseError'
Overrides
Error.name
response
• response: string
stack
• Optional
stack: string
Inherited from
Error.stack